package com.hy.entitys;

    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 章节表
    * </p>
*
* @author zhanghongyang
* @since 2019-06-16
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("chapter")
    @ApiModel(value="ChapterEntity对象", description="章节表")
    public class ChapterEntity extends Model<ChapterEntity> {

    private static final long serialVersionUID = 1L;

    private Long id;

            @ApiModelProperty(value = "章节名称")
    private String title;

            @ApiModelProperty(value = "url")
    private String url;

            @ApiModelProperty(value = "小说id")
    private String storyId;

            @ApiModelProperty(value = "章节内容")
    private String context;

            @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

            @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
